package cn.edu.hunau.java.week02.day01;

import org.junit.Test;

public class InitArrayTest {
    @Test
    public void TestInitArray(){
        int[][] array={{10,11},{20,21,22},{30,31,32,33}};
        for(int rows=0;rows<array.length;rows++){
            for(int cols=0;cols<array[rows].length;cols++){
                int arr=array[rows][cols];
                System.out.println(arr+"\t");
            }
            System.out.println();
        }
    }
}
